//
//  WNEncryption.h
//  iOSOCProjectDirectory
//
//  Created by BHmac on 2017/6/12.
//  Copyright © 2017年 XieXuan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
#import <CommonCrypto/CommonCryptor.h>

@interface WNEncryption : NSObject

+ (NSString *) encode:(NSString *)str key:(NSString *)key;//加密
+ (NSString *) decode:(NSString *)str key:(NSString *)key;//解密

@end
